//
//  OrderVc.swift
//  Pods
//
//  Created by eme on 2017/3/28.
//
//

import UIKit
import UtilCore
import RxSwift
import RickonCore
import XLPagerTabStrip

class BaseOrderVc: SliderViewController {
    
    /****************************Storyboard UI设置区域****************************/
    var Orderindex:Int?
    
    /*----------------------------   自定义属性区域    ----------------------------*/
    
    
    /****************************Storyboard 绑定方法区域****************************/
    
    
    
    /**************************** 以下是方法区域 ****************************/
    override func viewDidLoad() {
        for index in 0...4{
            let AllOrderVc:AllOrderVc = SansaCore.storyboard.instantiateViewController(withIdentifier: "AllOrderVc") as! AllOrderVc
            AllOrderVc.index = index
            self.contentViewControllers.append(AllOrderVc)
        }
        self.titleTexts = ["全部","待付款","待发货","待收货","待评价"]
        currentIndex = Orderindex!
        
        super.viewDidLoad()
        self.automaticallyAdjustsScrollViewInsets = false
        self.tabBarController?.tabBar.isHidden = true
        self.title = "我的订单"
        self.navigationController?.setNavigationBarHidden(false, animated: true)
        
    }
    override func viewWillAppear(_ animated: Bool) {
        super.viewWillAppear(animated)
        
    }
    
    override func viewWillDisappear(_ animated: Bool) {
        super.viewWillDisappear(animated)
    }
    
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        
    }
//    /**
//     界面基础设置
//     */
//    override func setupUI() {
//        /**
//         *  自定义 导航栏左侧 返回按钮
//         */
//        self.customLeftBarButtonItem()
//    }
//    
//    /**
//     绑定到viewmodel 设置
//     */
//    override func bindToViewModel(){
//        
//    }
}
